<?php
/**
 * TOP API: taobao.tbk.sc.membergroup.optional request
 * 
 * @author auto create
 * @since 1.0, 2022.08.23
 */
class TbkScMembergroupOptionalRequest
{
	/** 
	 * member组id
	 **/
	private $memberGroupId;
	
	/** 
	 * 淘宝数字id
	 **/
	private $tbNumIds;
	
	private $apiParas = array();
	
	public function setMemberGroupId($memberGroupId)
	{
		$this->memberGroupId = $memberGroupId;
		$this->apiParas["member_group_id"] = $memberGroupId;
	}

	public function getMemberGroupId()
	{
		return $this->memberGroupId;
	}

	public function setTbNumIds($tbNumIds)
	{
		$this->tbNumIds = $tbNumIds;
		$this->apiParas["tb_num_ids"] = $tbNumIds;
	}

	public function getTbNumIds()
	{
		return $this->tbNumIds;
	}

	public function getApiMethodName()
	{
		return "taobao.tbk.sc.membergroup.optional";
	}
	
	public function getApiParas()
	{
		return $this->apiParas;
	}
	
	public function check()
	{
		
	}
	
	public function putOtherTextParam($key, $value) {
		$this->apiParas[$key] = $value;
		$this->$key = $value;
	}
}
